package com.zy.edu.service;

import com.zy.edu.bean.Course;
import com.zy.edu.bean.CourseChapter;
import com.baomidou.mybatisplus.service.IService;
import com.zy.edu.bean.CourseChapterSign;
import com.zy.edu.bean.InputParam;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HuangHaiShui
 * @since 2021-07-20
 */
public interface CourseChapterService extends IService<CourseChapter> {
    public Map saveOrUpdate(CourseChapter chapter, InputParam inputParam);
    public Map list(CourseChapter chapter, InputParam inputParam);
    public Map dele( CourseChapter chapter);

    Map getById(CourseChapter courseChapter, InputParam inputParam);

    Map sign(CourseChapterSign courseChapterSign, InputParam inputParam);

    int countByCourseId(String courseId);
}
